package com.wbf.demo.mobile;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * @program: security_demo
 * @description:
 * @author: guangdao
 * @create: 2022-05-31 18:37
 **/
@Data
public class User implements Serializable {
    private Long id;
    private String username;
    private String password;
    private String nickName;
    private String mobile;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;
    /**
     * 是否删除，0有效 1删除
     */
    private Integer isDelete;
}
